package com.yunwaikeji.gy_tool_library_test

import androidx.lifecycle.MutableLiveData
import com.google.gson.JsonObject

class LoginViewModel : MViewModel() {
    val loginData = MutableLiveData<Any>()

    fun login(jsonObject: JsonObject) {
        request { getApiService().login(jsonObject).dataConvert(loginData, responseData) }
    }
}